package com.twu.biblioteca;

public class MovieListState implements State {

    public State executeStateBehaviour(UserInterface userInterface, Database database) {

        userInterface.write(new Output("--------------------------------------"));
        userInterface.write(new Output(database.movieList()));
        userInterface.write(new Output("--------------------------------------"));
        return new MenuState();

    }

}
